#ifndef BUYTRADEVALUESDIALOG_H
#define BUYTRADEVALUESDIALOG_H

#include <QDialog>
#include "trade/trade.h"

namespace Ui {
class BuyTradeValuesDialog;
}

class BuyTradeValuesDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit BuyTradeValuesDialog(QWidget *parent = 0);
    explicit BuyTradeValuesDialog(Trade* trade,QWidget *parent = 0);
    ~BuyTradeValuesDialog();
    
    void setTradeValues(const Trade& trade);
    void setTradeValues();

signals:
    void acceptedValues(Trade* trade);

public slots:
    void accept();
private:
    Ui::BuyTradeValuesDialog *ui;
    Trade* trade;                   //don't delete
};

#endif // EDITTRADEVALUESDIALOG_H
